from PyQt5.QtWidgets import QWidget, QTabWidget
from PyQt5.uic import loadUi

from windows.HelloWorldWindowClass import HelloWorldWindow


class HomeWindow:
    def __init__(self):
        self.window = loadUi('ui/home.ui')
        self.window: QWidget
        self.window.show()

        self.window.tabWidget: QTabWidget
        self.window.tabWidget.clear()
        self.helloWorld_window = HelloWorldWindow()
        self.helloWorld_window_2 = HelloWorldWindow()
        self.window.tabWidget.addTab(self.helloWorld_window.window, '1')
        self.window.tabWidget.addTab(self.helloWorld_window_2.window, '2')
